<?php
if(!isset($_SESSION)) 
    {
		@session_start(); 
		if (isset($_SESSION['logged_in'])) {
			header("Location: manage");
			exit;
    } 
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="robots" content="noindex, nofollow">
<title>Login</title>
<?php
include 'head.php';
?>
</head>
<body>
<?php
include 'nav.php';
?>
<div id="wrapper">
	<div id="content">
	<h1>Login</h1>
		<form action="credentials.php" method="post" name="credentials">
			<input type="text" name="user"></input>Username<br />
			<input type="password" name="pwd"></input>Password<br />
			<input type="submit" value="login"></input>
		</form>
	</div>
</div>
<?php
include 'footer.php';
?>
</body>
</html>